Install Vsftpd
|
[1] | Build FTP server to transfer files. Install and configure Vsftpd for it. |
[root@www ~]# yum -y install vsftpd [root@www ~]# vi /etc/vsftpd/vsftpd.conf # line 12: no anonymous anonymous_enable= NO # line 80,81: uncomment ( allow ascii mode ) ascii_upload_enable=YES ascii_download_enable=YES # line 95: uncomment ( enable chroot ) chroot_list_enable=YES # line 97: uncomment ( enable chroot list ) chroot_list_file=/etc/vsftpd/chroot_list # line 103: uncomment ls_recurse_enable=YES # add at the bottom chroot_local_user=YES local_root=public_html use_localtime=YES [root@www ~]# vi /etc/vsftpd/chroot_list # add users you allow to move over their home directory fedora [root@www ~]# /etc/rc.d/init.d/vsftpd start [root@www ~]# chkconfig vsftpd on
|